//
//  CouseSignUpViewController.h
//  TeacherNet
//
//  Created by slz on 2017/11/30.
//  Copyright © 2017年 bnsr. All rights reserved.
//

#import "BaseViewController.h"
#import "CourseSignUpModel.h"
#import "CourseDetailCommentView.h"
@class CouseSignUpViewTopView;

@protocol CouseSignUpViewTopViewDelegate <NSObject>
- (void)buttonClickWithContinue;
- (void)buttonClickWithSliderIndex:(NSInteger)index;
- (void)talkingViewClickWithAllActionEvent:(UIEvent *)event;
- (void)talkingViewClickWithAddAction;
- (void)noteViewClickWithAllActionEvent:(UIEvent *)event;
- (void)noteViewClickWithAddAction;
@end

@interface CustomRestMoreTableViewCell : UITableViewCell
@property (nonatomic,strong)UILabel * titleLabel;
@end

@interface CourseSignUpHeaderNoteView : UIView
@property(nonatomic,weak) CouseSignUpViewTopView * topView;
@property (nonatomic,strong) UIButton *addButton;
@property (nonatomic,strong) UIButton *listButton;
@end

@interface CourseSignUpTopHeaderView : UIView
@property (nonatomic,strong) UIImageView *courseIcon;
@property (nonatomic,strong) UILabel *courseNameLabel;
@property (nonatomic,strong) UILabel *courseLimitedLabel;
@end


@interface CourseSignUpTopContinueView : UIView
@property (nonatomic,strong) UILabel *currentCourseLabel;
@property (nonatomic,strong) UIButton *continueButton;
@property(nonatomic,weak) CouseSignUpViewTopView * topView;
@end

@interface CourseSignUpProgressView : UIView
@property (nonatomic,strong) UILabel *progressLabel;
@property (nonatomic,strong) CALayer *progressLayer;
@end

@interface CourseTalkingToolView : UIView
@property (nonatomic,strong) UIButton *addButton;
@property (nonatomic,strong) UIButton *listButton;
@property(nonatomic,weak) CouseSignUpViewTopView * topView;
@end

@interface CourseSignUpButtonView : UIView
@property (nonatomic,strong) CALayer *slider;
@property(nonatomic,weak) CouseSignUpViewTopView * topView;
@end

@interface CouseSignUpViewController : TTBaseViewController
@property (nonatomic,copy) NSString *courseTitle;
@property (nonatomic,copy) NSString *couseId;
@property (nonatomic,copy) NSString *classId;
@end

@interface CouseSignUpViewTopView : UIView
@property (nonatomic,strong) CourseSignUpProgressView *progressView;
@property (nonatomic,strong) CourseSignUpTopHeaderView *headerView;
@property (nonatomic,strong) CourseSignUpTopContinueView *continueView;
@property (nonatomic,strong) CourseSignUpButtonView *buttonView;
@property (nonatomic,strong) CourseTalkingToolView *talkingView;
@property (nonatomic,strong) CourseCommentTableHeaderView *commentHeader;
@property (nonatomic,strong) CourseSignUpHeaderNoteView *noteView;
@property(nonatomic,weak) id <CouseSignUpViewTopViewDelegate> delegate;
- (void)layoutWithPageModel:(CourseSignUpModel *)model;
- (CGFloat)heightForSubView;
@end
